/*
 * Copyright (c) 2018/12/9 . All Rights Reserved.
 */
package com.cgmnx.admin.dao.mapper;

/**
 * @author: z Date: 2018/12/9 Time: 下午4:35
 * @version: 1.0.0
 */

import com.cgmnx.admin.dao.condition.RankNumCondition;
import com.cgmnx.admin.dao.entity.RankNumAndNoteEntity;
import com.cgmnx.admin.dao.entity.RankNumEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RankNumMapper {

    void save(RankNumEntity entity);

    List<RankNumAndNoteEntity> queryPage(RankNumCondition condition);

    int count(RankNumCondition condition);

    void update(RankNumEntity entity);

    RankNumAndNoteEntity queryById(@Param("id") Integer id);

    RankNumEntity getQueryById(@Param("id") Integer id);

}
